package kpi.java_training.testing.userInterface;

import java.util.Scanner;

/**
 * class for user input from the console
 */
public class Input {
    private Scanner scanner;

    public Input() {
        scanner = new Scanner(System.in);
    }

    public String getString() {
        String s = "";
        while (s.equals("")) {
            s = scanner.nextLine();
        }
        return s;
    }

}
